<!-- <div class="page-title"><?php
print $this->topCategory->title?>:</div>-->
<div class="sub-category-list">
	<?php 
	foreach ( $this->subCategories as $categorys ) { 
		print '<div class="sub-category-col">';
		print '<div style="padding-left: 34px;">';
		foreach ( $this->api->Category->findAllSubcategory ( $categorys->id ) as $category ) {
			$selected = $this->subCategory->id == $category->id;
			if (! $selected) {
				?>
					<a class="sub-category-link" href="<?php print $category->getUrl ()?>"><?php print $category->title?></a><br />
				<?php
			} else {
				?>
				<div style="margin: 10px 0 10px -5px;">
					<div style="background: url('/image/categorys-page/active_left.gif') no-repeat; float: left; height: 22px; width: 5px;"></div>
					<div class="sub-category-link selected" style="float: left; background: url(&quot;/image/categorys-page/active_line.gif&quot;) repeat-x scroll 0% 0% transparent; height: 22px; min-width: 100px; width: 100px; color: white;"><?php print $category->title?></div>
					<div style="float: left; background: url(&quot;/image/categorys-page/active_rigth.gif&quot;) repeat scroll 0% 0% transparent; width: 5px; height: 22px;"></div>
					<div class="clear"></div>
			    </div>
				<?php
			}
		}
		print '</div>';
		print '</div>';
	}
	?>
	<div class="clear"></div>
</div>
